<template>
    <div>
        home
        <button @click="jump">我要去home2</button>
    </div>
</template>
<script>
export default {
    mounted(){
    },
    methods:{
        jump(){
            this.$router.push("/home2")
        }
    }
}
</script>


<style lang="scss">

</style>

